package ModelLayer;

public class OrderLine {

	public OrderLine(){}
	
	public OrderLine(Product product, int quantity) {
		this.product=product;
		this.quantity=quantity;
	}

	private SalesOrder salesOrder;
	private Product product;
	private int quantity;
	
	
	
	public SalesOrder getSalesOrder() {
		return salesOrder;
	}
	public void setSalesOrder(SalesOrder salesOrder) {
		this.salesOrder = salesOrder;
	}
	public Product getProduct() {
		return product;
	}
	public void setProduct(Product product) {
		this.product = product;
	}
	public int getQuantity() {
		return quantity;
	}
	public void setQuantity(int quantity) {
		this.quantity = quantity;
	}
	
	
	
	
}//end class
